export default {
  path: 'dormManage',
  name: 'Dorm',
  component: () =>
    import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/index'),
  children: [{
    path: 'workCheck',
    name: 'DormWork',
    component: () =>
        import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/workCheck/index'),
    meta: {
      role: '检查工作项'
    },
    children: [{
      path: 'list',
      name: 'DormWorkList',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/workCheck/list'),
      meta: {
        role: '列表'
      }
    },
    {
      path: 'edit',
      name: 'DormWorkEdit',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/workCheck/edit'),
      meta: {
        role: '新增'
      }
    },
    {
      path: 'detail',
      name: 'DormWorkDetail',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/workCheck/detail'),
      meta: {
        role: '详情'
      }
    }
    ]
  },
  {
    path: 'dormCheck',
    name: 'DormdormCheck',
    component: () =>
        import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormCheck/index'),
    meta: {
      role: '寝室检查'
    },
    children: [{
      path: 'list',
      name: 'DormdormCheckList',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormCheck/list'),
      meta: {
        role: '列表'
      }
    },
    {
      path: 'detail',
      name: 'DormdormCheckDetail',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormCheck/detail'),
      meta: {
        role: '详情'
      }
    }
    ]
  },
  {
    path: 'sanitation',
    name: 'Dormsanitation',
    component: () =>
        import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/sanitationLog/index'),
    meta: {
      role: '卫生记录'
    },
    children: [{
      path: 'list',
      name: 'DormsanitationList',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/sanitationLog/list'),
      meta: {
        role: '列表'
      }
    },
    {
      path: 'edit',
      name: 'DormsanitationEdit',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/sanitationLog/edit'),
      meta: {
        role: '新增'
      }
    }
    ]
  },
  {
    path: 'violation',
    name: 'Dormviolation',
    component: () =>
        import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/violationLog/index'),
    meta: {
      role: '违章记录'
    }
  },
  {
    path: 'dormRate',
    name: 'DormdormRate',
    component: () =>
        import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/index'),
    meta: {
      role: '寝室评比'
    },
    children: [{
      path: 'list',
      name: 'DormdormRateList',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/list'),
      meta: {
        role: '列表'
      }
    },
    {
      path: 'edit',
      name: 'DormdormRateEdit',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/edit'),
      meta: {
        role: '创建'
      }
    },
    {
      path: 'detail',
      name: 'DormdormRateDetail',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/detail'),
      meta: {
        role: '详情'
      }
    },
    {
      path: 'panel',
      name: 'DormdormRatePanel',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/panel'),
      meta: {
        role: '评比名单'
      }
    },
    {
      path: 'dormView',
      name: 'DormdormRatedormView',
      component: () =>
            import(/* webpackChunkName: "Dorm" */ '@main/routes/dormManage/dormRate/dormView'),
      meta: {
        role: '寝室风貌'
      }
    }
    ]
  }
  ]
}
